package com.medical.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author TISNIW
 * @version 1.0
 * @date 2025/6/25 9:30
 * @desc 部门评分实体类
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("dept_score")
public class DeptScore {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("dept_id")
    private Long deptId;

    @TableField("communication_score")
    private Integer communicationScore;

    @TableField("teamwork_score")
    private Integer teamworkScore;

    @TableField("productivity_score")
    private Integer productivityScore;

    @TableField("innovation_score")
    private Integer innovationScore;

    @TableField("leadership_score")
    private Integer leadershipScore;

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}